package com.qiaofang.request;

import com.qiaofang.common.request.CommonRequest;
import com.qiaofang.dto.PartnerInfoDTO;
import com.qiaofang.dto.WxConfigDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

@Data
public class AddCompanyRequest extends CommonRequest {

    @NotNull
    @ApiModelProperty("商户名称")
    private String companyName;

    @ApiModelProperty("商户简称")
    @Size(max = 8 , message = "公司简称不能超过8个字")
    private String companyAbbreviation;

    @ApiModelProperty("商户状态")
    private String status;

    @ApiModelProperty("商户类型")
    private Long companyType;

    @ApiModelProperty("省份")
    private Long province;

    @ApiModelProperty("城市")
    private Long city;

    @ApiModelProperty("区")
    private Long zone;

    @ApiModelProperty("详细地址")
    private String address;

    @NotNull
    @ApiModelProperty("域名")
    private String domain;
//
//    @ApiModelProperty("管理员姓名")
//    private String accountName;
//
//    @ApiModelProperty("管理员账户/手机号")
//    private String telephone;

    @ApiModelProperty("公司简介")
    private String introduction;

    @ApiModelProperty("微信配置")
    private List<WxConfigDTO> wxConfigs;

    @ApiModelProperty("M2打通")
    private String merchant2;

    @ApiModelProperty("M2商户号")
    private String merchantCode;

    @ApiModelProperty("一二手联动")
    private String outsideSwitch;

    @ApiModelProperty("验真开关")
    private String checkSwitch;

    @ApiModelProperty("验真模板")
    private String checkTemp;

    @ApiModelProperty("使用佣金授权时长")
    private String commissionAuthorizationTime;

    @ApiModelProperty("使用佣金是否开启")
    private Boolean commission;
    
    @ApiModelProperty("分销小程序消息推送是否开启")
    private Boolean weappMessage;

    @ApiModelProperty("短信提醒授权时长")
    private String messageAuthorizationTime;

    @ApiModelProperty("短信提醒是否开启")
    private Boolean message;

    @ApiModelProperty("渠道PC登录页logo")
    private String developersLoginLogo;

    @ApiModelProperty("渠道PC首页logo")
    private String developersIndexLogo;

    @ApiModelProperty("案场助手登录页logo")
    private String assistantLoginLogo;

    @ApiModelProperty("案场助手首页logo")
    private String assistantIndexLogo;

    @ApiModelProperty("案场助手退出页logo")
    private String assistantExitLogo;

    @ApiModelProperty("分销PC登录页logo")
    private String agencyLoginLogo;

    @ApiModelProperty("分销PC首页logo")
    private String agencyIndexLogo;

    @ApiModelProperty("分销商h5登录页logo")
    private String h5LoginLogo;
    
    @ApiModelProperty("自有公众号logo")
    private String agencyServiceLogo;
    
    @ApiModelProperty("自有小程序logo")
    private String agencyWeappLogo;

    @ApiModelProperty("是否M2参与客户判重：0-否；1-是")
    private String checkM2Repeat;

}
